package com.mskj.zxmy.mapper;

import com.mskj.zxmy.dto.CKSQListQueryFo;
import com.mskj.zxmy.entity.Ck02CheckoutFormCheckout;
import com.mskj.zxmy.entity.Lists;
import com.mskj.zxmy.entity.RepositoryApplication;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface NeckMaterialMapper {


    List<RepositoryApplication> queryLLdList(CKSQListQueryFo fo);

    Long countLLdList(CKSQListQueryFo fo);

    List<RepositoryApplication> queryLLdListWithPage(@Param("fo") CKSQListQueryFo fo, @Param("offset") int offset, @Param("pageSize") int pageSize);

    Lists retListsInfoByLLdId(@Param("id") Integer id);

    List<Ck02CheckoutFormCheckout> scanToGetItem(@Param("id") Integer id);

    int saveCkd(Lists lists);

    int saveCkdDetail(@Param("list") List<Ck02CheckoutFormCheckout> ckdDetail);

}
